package com.itheima.mapper;

import com.itheima.pojo.Dept;
import com.itheima.utils.Result;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;
@Mapper
public interface DeptMapper {
    List<Dept> selectDept();

    void deleteById(Integer id);

    void insertByName(Dept dept);

    Dept selectById(Integer id);

    void putByList(Dept dept);

    void deleteByidEmp(Integer id);
}
